﻿@model Core.Models.Theme

@{
    ViewBag.Title = "Edit Theme";
}

<h1>Theme Edit</h1>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(false)
    <fieldset>

        @Html.HiddenFor(model => model.ThemeId)

        <div class="editor-label">
            @Html.LabelFor(model => model.Name)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Name)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Layout)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.Layout, new { size="40"})
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Width)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.Width, new { size = "4" })
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ContentIdentifier)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ContentIdentifier)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.SysMenuIdentifier)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.SysMenuIdentifier)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.MenuIdentifier)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.MenuIdentifier)
        </div>

        <div class="editor-label">
            &nbsp;
        </div>
        <div class="editor-field">
            @Html.CheckBoxFor(model => model.IsForMobile) @Html.LabelFor(model => model.IsForMobile)
        </div>
    </fieldset>

<div>
    <p>&nbsp;</p>
    <input type="submit" value="Save" />
    @Html.ActionLink("Back to List", "Index")
</div>
}

